import vip0 from '@/utils/vip/vip0_14px.webp'
import vip1 from '@/utils/vip/vip1_14px.webp'
import vip2 from '@/utils/vip/vip2_14px.webp'
import vip3 from '@/utils/vip/vip3_14px.webp'
import vip4 from '@/utils/vip/vip4_14px.webp'
import vip5 from '@/utils/vip/vip5_14px.webp'
import vip6 from '@/utils/vip/vip6_14px.webp'
import vip7 from '@/utils/vip/vip7_14px.webp'
import vip8 from '@/utils/vip/vip8_14px.webp'
import vip9 from '@/utils/vip/vip9_14px.webp'
import vip10 from '@/utils/vip/vip10_14px.webp'
import vip11 from '@/utils/vip/vip11_14px.webp'
import vip12 from '@/utils/vip/vip12_14px.webp'
import vip13 from '@/utils/vip/vip13_14px.webp'
import vip14 from '@/utils/vip/vip14_14px.webp'
import vip15 from '@/utils/vip/vip15_14px.webp'


export const levelType = {
  '0': vip0,
  '1': vip1,
  '2': vip2,
  '3': vip3,
  '4': vip4,
  '5': vip5,
  '6': vip6,
  '7': vip7,
  '8': vip8,
  '9': vip9,
  '10': vip10,
  '11': vip11,
  '12': vip12,
  '13': vip13,
  '14': vip14,
  '15': vip15,
};

export const levelcolorType = {
  0: 'default',
  1: 'warning',
  2: 'processing'
};

import { language } from "@/content-scripts/locales";

export const statusType = {
  0: language.unverified,
  1: language.verified,
};

export const statusColorType = {
  0: 'default',
  1: 'success',
};

export const riskType = {
  1: language.high,
  2: language.low,
};

export const riskColorType = {
  1: 'warning',
  2: 'error'
};

export const dayNumberOptions = [
  {
    label: "1 天",
    value: 1,
  },
  {
    label: "2 天",
    value: 2,
  },
  {
    label: "3 天",
    value: 3,
  },
  {
    label: "4 天",
    value: 4,
  },
  {
    label: "5 天",
    value: 5,
  },
  {
    label: "6 天",
    value: 6,
  },
  {
    label: "7 天",
    value: 7,
  },
  {
    label: "15 天",
    value: 15,
  },
  {
    label: "30 天",
    value: 30,
  },
  {
    label: "永久",
    value: 0,
  },
];

export const associationOptions = [
  {
    label: "单向",
    value: "oneWay",
  },
  {
    label: "双向",
    value: "twoWay",
  },
];

export const transNumOptions = [
  {
    label: "数量",
    value: "number",
  },
  {
    label: "交易额",
    value: "turnover",
  },
];

export const isTriPriceOptions = [
  {
    label: "触发价格≤",
    value: "lessThan",
  },
  {
    label: "触发价格≥",
    value: "greaterThan",
  },
];

export const dayNumberType = {
  1: "1 天",
  2: "2 天",
  3: "3 天",
  4: "4 天",
  5: "5 天",
  6: "6 天",
  7: "7 天",
  15: "15 天",
  30: "30 天",
};

export const associationType = {
  oneWay: "单向",
  twoWay: "双向",
};

export const directionType = {
  0: "买入/做多",
  1: "卖出/做空",
};
